package model.wrap.structure;

import model.UserException;

public class StructureException extends UserException
{

    private static final long serialVersionUID = 1L;
    
    public static StructureException getExceptionWhitUserMessage(String userMessage)
    {
	if( userMessage == null) userMessage = "";
	StructureException err = new StructureException();
	err.setUserException(userMessage);
	return err;
    }
    
    public static StructureException errorCreaterNotFind()
    {
	String errMsg = "Creater not find.";
	return StructureException.getExceptionWhitUserMessage(errMsg);
    }

}
